<template>
    <div class="header">
    <div class="header-left">
    <span class="iconfont" @click="tohome">
       &#xe64a;
    </span>
    </div>
    <div class="header-title">
        城市选择

    </div>
   
 
    </div>
</template>
<style scoped lang='stylus'>
@import '~css/var.styl'

.header{
    width: 100%;
    line-height: .88rem;
    background:$bgcolor;
    color: $textcolor;
    font-size: .36rem; 
    position:relative;

    
    }
    .header-left{
       
        width: .4rem;
        padding: 0 .2rem;
        text-align: center;
        font-weight: bold;
       position:absolute;
        
    }
  .header-title{
      text-align :center;
 
   
     
      
  }
    
</style>
<script>
export default {
    methods:{
        tohome(){
            this.$router.push('/');
        }

    }
   
}
</script>